Procesado de Señales e Imágenes Médicas

Ingeniería Biomédica

Ph.D. Pablo Eduardo Caicedo Rodríguez

2024-01-22

Procesamiento de imágenes

What is Digital Image Processing?

Definition

  • Two-dimensional function, f(x, y)
  • Where x and y are spatial coordinates.
  • The amplitude of f at any pair of coordinates (x, y) is called the intensity.

The digital image

If the coordinates and the intensity are discrete quantities the image turns into a digital image.

What is Digital Image Processing?

Definition

A digital image is composed by a finite number of elements called PIXEL.

https://www.researchgate.net/figure/Digital-image-representation-by-pixels-vii_fig2_311806469

Depth

A digital image is composed by a finite number of elements called PIXEL. Bpp( Bits per pixel)

  • 1bpp. B/W image, monochrome.
  • 2bpp. CGA Image.
  • 4bpp. Minimun for VGA standard.
  • 8bpp. Super-VGA image.
  • 24bpp. Truecolor image.
  • 48bpp. Professional-level images.

What is Digital Image Processing?

Definition

https://www.researchgate.net/figure/Digital-image-representation-by-pixels-vii_fig2_311806469

Color Space

How can i represent the color

  • RGB.
  • CMYK.
  • HSV.
  • Among others.

What is Digital Image Processing?

import cv2
import matplotlib.pyplot as plt

img = cv2.imread("./images/image01.tif")
fig001 = plt.figure()
plt.imshow(img)

import cv2
import matplotlib.pyplot as plt

img = cv2.imread("./images/lena.tif")
RGB_img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
fig002 = plt.figure()
plt.imshow(RGB_img)